<?php
include_once 'environment.php';
// This is the configuration for yiic console application.
// Any writable CConsoleApplication properties can be configured here.
return array(
	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
	'name'=>'Serta.com',
    'defaultController'=>'diagnostic',
    
    'modules'=>array('Cms','Core'),
    
    'components' => array(
        'errorHandler'=>array(
            'errorAction' => 'diagnostic/error',
        ),
        'db'=>array(
            'connectionString' => $dbs['default']['connectionString'],
            'username' => $dbs['default']['username'],
            'password' => $dbs['default']['password'],
            'enableParamLogging'=>true,
            // cache
            'schemaCachingDuration'=> 0, //60*30, // 30 minutes
            'queryCachingDuration'=>0,
        ),
    )
);